#!/bin/sh -e

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --enable-static=yes \
    --disable-nls \
    --disable-gpg-test \
    --disable-gpgconf-test

printf '%s\n' '#define _LARGEFILE64_SOURCE' >> conf/config.h

make
make DESTDIR="$1" install
